package com.example.controller;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.multipart.MaxUploadSizeExceededException;

//@RestControllerAdvice
//public class MaxFileSizeExceptionHandler {
//    @ExceptionHandler(MaxUploadSizeExceededException.class)
//        public String error(){
//            return "文件大小超出限制";
//        }
//
//}
